package models

// 权限
type Authority struct {
	Id                int64              `orm:"description(自增主键)"`
	UserAdminRoles    []*UserAdminRole   `orm:"reverse(many)"`
	AuthorityCategory *AuthorityCategory `orm:"rel(fk);null;default(0);description(分类id)"`
	Name              string             `orm:"description(权限名称)"`
	Rule              string             `orm:"description(权限规则)"`
	IsChecked         bool               `orm:"-"`
}
